package net.yambal.android.secretary_alarm.voice;

import net.yambal.android.google_calender.GoogleCalenderUtil;
import android.content.Context;

public class CalendarVoiceBuilder extends voiceBuilderBase{

	public CalendarVoiceBuilder(Context context){
		super(context);
	}
			
	public CalendarVoiceBuilder(Context context, String save_dir, String save_name, Long alarm_mill, String user_name) {
		super(context, save_dir, save_name, alarm_mill, user_name);
	}
	
	@Override
	public String getSharedPreferencesVoiceFileKey() {
		return "calender_voice_file";
	}
	
	@Override
	public String buldTxt(Long alarm_timing_mill, String user_name){
    	return GoogleCalenderUtil.getEventText(getContext(), alarm_timing_mill, alarm_timing_mill);
	}
}
